package com.hawthorn.redis.repository.provider;

import org.apache.ibatis.builder.annotation.ProviderMethodResolver;

/**
 * <p>todo APP用户缓存sql类</p>
 * @author: andyten@tom.com | xukaixing@hotmail.com
 * @created: 2021/11/11 8:39 PM
 * @version v1.0.1
 * @copyright: Copyright (c)  andyten
 */
public class AppUserCacheSqlProvider implements ProviderMethodResolver
{
  public static String selectAppUser()
  {
    String sql = "select " +
        "u.id, " +
        "u.user_name, " +
        "u.phone, " +
        "u.open_id, " +
        "u.login_code, " +
        "u.status " +
        " from app_user u " +
        " where 1 = 1 ";
    return sql;
  }
}
